package com.letoken.platform.repo.app.req.user;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;

/**
 * @Author: qinqian
 * @Date: 2021/11/22  16:59
 */
@Data
@ApiModel(value = "更改用户头像请求类", description = "更改用户头像请求类")
public class UpdateHeadImageReq {

    @ApiModelProperty(name = "headImage", value = "头像", required = true, example = "https://img1.baidu.com/it/u=3009731526,373851691&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500")
    @JSONField(serialize = false)
    private MultipartFile file;



}
